package com.base.data.service;

import java.util.List;
import java.util.Map;

import com.base.data.entity.City;
import com.base.data.exception.DataException;
import com.mysteel.page.Page;

public interface CityService
{
	void saveCity(City city) throws DataException;
	
	void deleteCityById(String id);
	
	City getCityById(String id);
	
	List<City> queryAll();
	
	List<City> pageCity(Map<String, Object> map);
	
	void updateCity(City city);
	
	Page<City> page(Map<String, Object> params, int currentPageNum,
                    int maxPageRowCount);
	
	City getCityByNameAndProvenceId(Map<String, Object> map);
	
}
